package demo.DtoToVo;

import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.Set;

/**
 * @author : GuoFei
 * @date : 2019/4/26 15:59
 */
@NoArgsConstructor
public class User {

   private String name;
   private String password;
   private Boolean sex;
   private Set<String> message;
   private ArrayList<Product> products;
    private Product product;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Boolean getSex() {
        return sex;
    }

    public void setSex(Boolean sex) {
        this.sex = sex;
    }

    public Set<String> getMessage() {
        return message;
    }

    public void setMessage(Set<String> message) {
        this.message = message;
    }

    public ArrayList<Product> getProducts() {
        return products;
    }

    public void setProducts(ArrayList<Product> products) {
        this.products = products;
    }

    public Product getProduct() {
        return product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }
}
